/*******************************************************************************
 * Copyright (c) 2009 Kevin Bierhoff and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Kevin Bierhoff - initial API and implementation
 *******************************************************************************/
package com.googlecode.twelfdevtools.twelfast;

public class AbstractTwelfAstVisitor<T> implements ITwelfAstVisitor<T> {

	public T doDispatch(ITwelfAstNode node) {
		if(node == null)
			return null;
		else
			return node.dispatch(this);
	}
	
	public T app(Application node) {
		return null;
	}

	public T arrow(Arrow node) {
		return null;
	}

	public T ascr(Ascription node) {
		return null;
	}

	public T constDecl(ConstantDeclaration node) {
		return null;
	}

	public T lambda(Lambda node) {
		return null;
	}

	public T pi(Pi node) {
		return null;
	}

	public T type(Type node) {
		return null;
	}

	public T id(Identifier node) {
		return null;
	}

	public T wildcard(Wildcard node) {
		return null;
	}

}
